package my.mall.db.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper
import my.mall.db.entity.MediaGroup
import org.apache.ibatis.annotations.Param

/**
 * <p>
 * 素材库分组 Mapper 接口
 * </p>
 *
 * @author fengbo
 * @since 2024-04-19
 */
interface MediaGroupMapper : BaseMapper<MediaGroup> {

    fun subMediaNum(@Param("storeId") storeId: Long?, @Param("id") id: Long?, @Param("num") num: Int?)
    fun addMediaNum(@Param("storeId") storeId: Long?, @Param("id") id: Long?, @Param("num") num: Int?)
}
